package org.gnomus.util;

import org.stringtree.json.JSONReader;
import org.stringtree.json.JSONWriter;

public class json {
    public static Object decode(String s) {
        return new JSONReader().read(s);
    }

    public static String encode(Object d) {
        return new JSONWriter(false).write(d); // do not emit class name
    }
}
